package cn.stylefeng.guns.modular.school.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.school.entity.TripOrderInfo;
import cn.stylefeng.guns.modular.school.model.params.TripOrderInfoParam;
import cn.stylefeng.guns.modular.school.model.result.TripOrderInfoResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 行程预约信息 服务类
 * </p>
 *
 * @author 
 * @since 2020-04-12
 */
public interface TripOrderInfoService extends IService<TripOrderInfo> {

    /**
     * 新增
     *
     * @author 
     * @Date 2020-04-12
     */
    void add(TripOrderInfoParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2020-04-12
     */
    void delete(TripOrderInfoParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2020-04-12
     */
    void update(TripOrderInfoParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2020-04-12
     */
    TripOrderInfoResult findBySpec(TripOrderInfoParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2020-04-12
     */
    List<TripOrderInfoResult> findListBySpec(TripOrderInfoParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2020-04-12
     */
     LayuiPageInfo findPageBySpec(TripOrderInfoParam param);

}
